package com.xiaobai.login.request;

import com.xiaobai.common.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 用户头像删除请求参数
 *
 * @author bail
 * @date 2019/12/20.11:17
 */
@ApiModel
@Data
public class UserPhotoDelReq extends BaseRequest {
    private static final long serialVersionUID = 1L;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像", example = "/user_photo/xxx.jpg")
    @NotEmpty
    private String userPhoto;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", hidden = true)
    private Long userId;
}

